<!DOCTYPE html>
<html>
	<head>
		<title>${(ware.name)!""}</title>
		<meta charset="utf-8" />
		<meta name="author" content="m.wine22.com">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" type="text/css" href="/css/base.css" charset="UTF-8" />
		<link rel="stylesheet" type="text/css" href="/css/detail.css" charset="UTF-8" />
	</head>

	<body>
	<#assign title="<span class='header-title header-title-acticy' code='product-main'>商品</span><span class='header-title' code='product-desc'>详情</span>">
	<#include "/common/header.html">
		<!-- 以product-开头的样式是需要根据顶部点击显示隐藏，不要乱用 -->
		<div class="detail-info product-main product-info">
			<input type="hidden" id="id" value="${(ware.id)!0}">
		  	<div class="banner scroll-wrapper" id="container" ontouchstart="touchStart(event)" ontouchmove="touchMove(event);" ontouchend="touchEnd(event);">
		    	<ul class="scroller" style="position:relative;left:0px;width:${ware.imageThumb?split(",")?size}00%" id="slider">
		      		<#list ware.imageThumb?split(",") as item>
		      		<li style="width:-100.0%">
		      			<img src="${item}"  alt="${(ware.name)!"--"}" />
					</li>
					</#list>
			    </ul>
			</div>
			<!-- 价格 -->
			<div class="detail-price float-left">
				<span class="text padding-left">酒坊价：<strong>&yen;<span class="detail-member-price"><#if ware.pricePromotional??>&yen;${(ware.pricePromotional)?string('0.00')}<#else>--</#if></span></strong></span>
				<br>
				<span class="text padding-left">市场价：<span class="detail-market-price"><#if ware.priceOriginal??>&yen;${(ware.priceOriginal)?string('0.00')}<#else>--</#if></span></span>
				<span class="text padding-left">积分：${(ware.score)!"--"}分</span>
			</div>
			<div class="detail-price detail-attention float-right">
				<span class="attention-icon <#if favorite gt 0>attention-icon-activity</#if>"></span>
				<span class="text">关注</span>
			</div>
			<div class="clear"></div>
		
			<div class="detail-info">
				<div class="detail-title">${(ware.name)!"--"}</div>
				<#if ware.summary??>
				<!-- 促销信息 -->
				<div class="detail-summary">${(ware.summary)!""}</div>
				</#if>
				<div class="detail-attr">
					<ul>
						<li>品牌：${(ware.brandName)!""}</li>
						<li>香味香型：${(ware.flavor)!""}</li>
						<li>规格：${(ware.methodPacking)!""}</li>
						<li>净&ensp;含&ensp;量：${(ware.specifications)!""}</li>
						<li>年份：${(ware.dateManufacture)!""}</li>
						<li style="width:100%">原料：${(ware.batching)!""}</li>
					</ul>
				</div>
			</div>
		</div>
		
		<div class="product-info product-desc" style="display:none;">${(ware.description)!""}</div>
		
		<div class="clear"></div>
 		<#if wares??>
		<div class="detail-recommend">
			<div class="detail-reco-title">为您推荐</div>
		 	<ul class="new-mu_l2w">
		 		<#list wares as item>
				<li class="new-mu_l2 border-btm">
					<a href="/ware/${(item.id)!""}.html" class="new-mu_l2a">
						<span class="new-mu_tmb"><img src="${(item.imageMain)!""}" width="100" height="100"  alt=""/></span>
						<span class="new-mu_l2cw">
							<strong class="new-mu_l2c">${(item.name)!""}</strong>
			            	<span class="new-mu_l2h new-mu_l2h-v1">
			            		<span class="new-txt-rd2">市场价：<strong class="new-txt-rd2">&yen;<#if item.priceOriginal??>&yen;${((item.priceOriginal)!0)?string('0.00')}<#else>--</#if></strong></span>
			            	</span>
							<span class="new-mu_l2h new-p-re">酒坊价：<strong class="new-txt-rd2"><#if item.pricePromotional??>&yen;${((item.pricePromotional)!0)?string('0.00')}<#else>--</#if></strong></span>
							<span class="new-mu_l2h new-p-re"><strong class="new-txt-rd2">马上去看看</strong></span>
						</span> 
					</a>
				</li>
				</#list>
			</ul>
		</div>
		</#if>
		<!-- 底部占位的DIV -->
		<div class="bottom-div"></div>
		
		<!-- 底部按钮 -->
		<div id="cart1" class="tools-btm five-column">
			<div class="concern-cart">
				<a class="cart-car-icn" href="/cart/list.html">
					<em class="btm-act-icn" id="shoppingCart">
						<i class="order-numbers" id="carNum">${(cartWares)!0}</i>
					</em>
					<span class="focus-info">购物车</span>
				</a>
			</div>
			<div class="action-list">
				<a class="yellow-color add_cart" id="addCartBtm">加入购物车</a>
				<a class="red-color directorder" id="buyNowBtm">立即购买</a>
			</div>
		</div>
		<script type="text/javascript" src="/js/slide.js"></script>
		<script type="text/javascript" src="/js/layer/layer.js"></script>
		<script type="text/javascript" src="/js/common.js"></script>
		<script type="text/javascript" src="/js/biz/detail.js"></script>
	</body>

</html>